package com.egg.mall.model.response.web;

import com.egg.common.core.model.response.BaseResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@ApiModel(value = "SKU信息")
public class SkuInfo extends BaseResponse {


    @ApiModelProperty(value = "SPU ID")
    private Long id;

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "SPU ID")
    private Long spuId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "价格(单位:分)")
    private Long price;

    @ApiModelProperty(value = "库存数量")
    private Integer stockQuantity;

    @ApiModelProperty(value = "图片地址")
    private String picUrl;

    @ApiModelProperty(value = "规格值, 以英文逗号(,)分割")
    private String specIds;


}
